<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="Stylesheet" href="{TPL}css/NewTopFoot.css" />
<link href="{TPL}css/AddItemPanel.css" rel="stylesheet" type="text/css" />

    <script src="{TPL}js/jquery-1.4.1.min.js" type="text/javascript"></script>

    <script src="{TPL}js/jQuery.Extend.js" type="text/javascript"></script>

    <script type="text/javascript" src="{TPL}js/jQuery.Drag.min.js"></script>

    <script src="{TPL}js/jquery.cookies.2.1.0.min.js" type="text/javascript"></script>

    <script type="text/javascript" src="{TPL}js/Gobal.js"> </script>

    
    <link type="text/css" id="styleName" rel="stylesheet" href="{TPL}css/orange/color.css"/ > 

    <script src="{TPL}js/wdggcGobal.js"   type="text/javascript"></script>

    
    <link href="{TPL}css/jihuo.css" rel="stylesheet" type="text/css" />

    <script src="{TPL}js/AjaxPager-min.js" type="text/javascript"></script>
    <script type="text/javascript" src="{TPL}js/Active.js"></script>

<title>
	[{$cfg_site_name}] – 我的优惠券
</title></head>
<body>
    
    <form name="" method="post" action="" id="">

{template 'header'}
	
<div class="admin">
        <div class="ding">

<div class="shouye">
                <a href="{url_m.php}" title="我的首页"></a>
            </div>
            <div class="lb">
                <div class="weizhi">
                      <b>Your position：</b><a href="{url_m.php}">Member Center</a><span>&gt;</span><a href="{url_m.php?name=coupon}">My Coupon</a><span>&gt;</span>激活电子优惠券
              </div>
                
              <div class="shezhi">

<p>
                        <a href="{url_m.php}"> Member Center</a><span>|</span>ThemeSet：</p>
          <ul>
                        <li onclick="changeStyle('orange')" class="mypanliS1"></li>
                        <li onclick="changeStyle('grey')" class="mypanliS2"></li>
                        <li onclick="changeStyle('blue')" class="mypanliS3"></li>
                </ul>

                </div>
            </div>
        </div>

{template 'member_left'}
        
  <div class="fill">
        <div class="jh_top">
            <h2>
                电子优惠券激活区</h2>
      </div>
        <div class="jh_js">

            <div class="js_tishi">
                温馨提示：活动发放的优惠券须激活后才能使用，请在激活期限内进行激活，逾期则自动取消。</div>
      </div>
        <div class="shuru">
            <div class="jihuo">
                <label>
                    请输入电子优惠券号码：</label><input class="jh_wb" name="clickcode" type="text" id="clickcode" /><input
                        class="jh_nav" name="" type="button" onmouseover="this.className='jh_nav_'" onmouseout="this.className='jh_nav'"
                        value="立即激活" onclick="Click();" /></div>
            <p id="showContent">

            </p>
      </div>

	  
{if !empty($dataarray)} 	  
        <div class="zs_list">
<DIV id=userCouponListPanel class="biao my"><TABLE>
<TBODY>
<TR>
<TH class=w1>validity</TH>
<TH class=w2>number</TH>
<TH class=w3>par value<SPAN>(￥)</SPAN> </TH>
<TH class=w4>获得途径 </TH>
<TH class=w5>status </TH></TR>
</TBODY></TABLE>
<TABLE id=userCouponList>
<TBODY>
{loop $dataarray $key $r}
<tr {if $key%2==1}class="hui"{/if}>
<td class="w1">{eval if($r['endtime']!=0)echo date('Y-m-d',$r['endtime']);else echo '未激活'}</td>
<td class="w2">{$r['sn']}</td>
<td class="w3">{$r['money']}</td>
<td class="w4">{$r['getwayname']}</td>
<td class="w5"> <span>{$r['statename']}</span></td>
</tr>
{/loop}

</TBODY>
</TABLE>
<DIV id=ajaxPager class=page-bottom></DIV>
<DIV style="CLEAR: both">&nbsp;</DIV></DIV>			
</div>			
{else}			
        <div class="no_yh" id="noneList" style="">
            <h2>
                您目前没有需要激活的电子优惠券。</h2>
            <a href="{url_m.php?name=coupon}">返回我的优惠券>></a>
      </div>			
			
{/if}	
        <div class="succeed" style="display: none">
        </div>
</div>

        <div class="yj">

    </div>
    </div>

{template 'footer'}


    </form>

</body>
</html>
